package com.cweb.admin.model.bbs.bbs_article_info.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cweb.admin.model.bbs.bbs_article_info.entity.BbsArticleInfo;
import com.cweb.framework.base.mapper.BaseMybatisMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 论坛-文章信息 Mapper 接口
 * @author changfan
 */
public interface BbsArticleInfoMapper extends BaseMybatisMapper<BbsArticleInfo> {
    BbsArticleInfo detail(@Param("id") Long id, @Param("userId") Long userId);
    // 分页查询
    IPage<Map> listPage(@Param("pg") Page page, @Param("param") BbsArticleInfo param);
}
